package edu.stu.mall.repository.data

data class ProductDetailData(
    val brand: Brand?,
    val couponList: List<Any?>?,
    val product: Product?,
    val productAttributeList: List<ProductAttribute>?,
    val productAttributeValueList: List<ProductAttributeValue>?,
    val productFullReductionList: List<ProductFullReduction?>?,
    val skuStockList: List<SkuStock?>?
)


data class Product(
    val albumPics: String?,
    val brandId: Int?,
    val brandName: String?,
    val deleteStatus: Int?,
    val description: String?,
    val detailDesc: String?,
    //详情图
    val detailHtml: String?,
    val detailMobileHtml: String?,
    val detailTitle: String?,
    val feightTemplateId: Int?,
    val giftGrowth: Int?,
    val giftPoint: Int?,
    val id: Int?,
    val keywords: String?,
    val lowStock: Int?,
    //名称
    val name: String?,
    val newStatus: Int?,
    val note: String?,
    val originalPrice: Double?,
    val pic: String?,
    val previewStatus: Int?,
    //价格
    val price: Double?,
    val productAttributeCategoryId: Int?,
    val productCategoryId: Int?,
    val productCategoryName: String?,
    val productSn: String?,
    val promotionPerLimit: Int?,
    val promotionType: Int?,
    val publishStatus: Int?,
    val recommandStatus: Int?,
    val sale: Int?,
    val serviceIds: String?,
    val sort: Int?,
    val stock: Int?,
    //副标题
    val subTitle: String?,
    val unit: String?,
    val usePointLimit: Int?,
    val verifyStatus: Int?,
    val weight: Double?
)

data class ProductAttribute(
    val filterType: Int?,
    val handAddStatus: Int?,
    val id: Int?,
    val inputList: String?,
    val inputType: Int?,
    val name: String?,
    val productAttributeCategoryId: Int?,
    val relatedStatus: Int?,
    val searchType: Int?,
    val selectType: Int?,
    val sort: Int?,
    val type: Int?
)

data class ProductAttributeValue(
    val id: Int?,
    val productAttributeId: Int?,
    val productId: Int?,
    val value: String?
)

data class ProductFullReduction(
    val fullPrice: Double?,
    val id: Int?,
    val productId: Int?,
    val reducePrice: Double?
)

data class SkuStock(
    val id: Int?,
    val lockStock: Int?,
    val pic: String?,
    val price: Double?,
    val productId: Int?,
    val skuCode: String?,
    val spData: String?,
    val stock: Int?
)
